QuillBooking\Models\Event_Model D

Total Complexity 350
Dependencies 20
Dependents 9
Total lines 2,501
Lines of code 1,437
Logical lines of code 896
Comment lines 684
Methods 76
Properties 9

Methods 76

Method Rating Maintainability Complexity Lines of code
getConnectedIntegrationsAttribute()
D
26
51 138
check_available_slots()
D
26
29 183
generate_slots_for_time_block()
D
28
29 128
get_end_date()
A
41 14 56
getTeamAvailability()
A
40 13 66
requirePayment()
A
43 14 50
findCommonTeamAvailability()
A
43 12 52
validate_frequency_limits()
A
40 9 58
validate_duration_limit()
A
40 9 58
get_start_date()
A
45 10 42
checkMemberAvailabilitySchedule()
A
48 10 30
get_slot_availability_count()
A
49 9 28
generate_daily_slots()
A
47 7 32
updateFields()
S
50 7 26
validate_availability()
S
52 7 26
processLocationFields()
S
49 6 29
setLocationAttribute()
S
54 6 21
boot()
S
49 5 35
getPriceAttribute()
S
55 5 20
apply_frequency_limits()
S
60 5 12
apply_duration_limits()
S
60 5 12
mergeTimeBlocks()
S
53 4 24
requireConfirmation()
S
55 4 18
getTotalPrice()
S
59 4 15
findCommonTimeBlocks()
S
61 4 13
intersectTimeBlocks()
S
62 4 12
get_available_slots()
S
55 3 18
setSystemFields()
S
58 3 15
getItems()
S
64 3 11
save()
S
62 3 11
duplicate()
S
58 2 16
updateSystemFields()
S
62 3 10
getTimeBlockIntersection()
S
58 2 15
getAvailabilityMetaAttribute()
S
78 2 3
get_meta()
S
72 2 5
get_effective_availability()
S
79 2 3
parseAvailabilityValue()
S
71 2 6
timeBlocksOverlapOrAdjacent()
S
67 2 7
calculate_end_date()
S
68 2 7
calendar()
S
79 1 3
meta()
S
79 1 3
bookings()
S
79 1 3
availability()
S
79 1 3
getFieldsAttribute()
S
80 1 3
getLocationAttribute()
S
80 1 3
setLimitsAttribute()
S
80 1 3
getLimitsAttribute()
S
80 1 3
setReserveTimesAttribute()
S
80 1 3
getReserveTimesAttribute()
S
80 1 3
getTeamMembersAttribute()
S
80 1 3
setTeamMembersAttribute()
S
80 1 3
getEmailNotificationsAttribute()
S
80 1 3
setEmailNotificationsAttribute()
S
80 1 3
getSmsNotificationsAttribute()
S
80 1 3
setSmsNotificationsAttribute()
S
80 1 3
getAdditionalSettingsAttribute()
S
80 1 3
setAdditionalSettingsAttribute()
S
80 1 3
getGroupSettingsAttribute()
S
80 1 3
setGroupSettingsAttribute()
S
80 1 3
getEventRangeAttribute()
S
80 1 3
setEventRangeAttribute()
S
80 1 3
getAdvancedSettingsAttribute()
S
80 1 3
setAdvancedSettingsAttribute()
S
80 1 3
getPaymentsSettingsAttribute()
S
80 1 3
setPaymentsSettingsAttribute()
S
80 1 3
getWebhookFeedsAttribute()
S
80 1 3
setWebhookFeedsAttribute()
S
80 1 3
getDynamicDurationAttribute()
S
79 1 3
setDynamicDurationAttribute()
S
80 1 3
getBookingCountAttribute()
S
74 1 5
has_integrations()
S
81 1 3
update_meta()
S
66 1 9
clear_availability_cache()
S
81 1 3
setAvailabilityAttribute()
S
76 1 4
adjust_start_date()
S
66 1 7
get_booking_available_slots()
S
71 1 5